From: Guido Günther Date: Wed, 31 Dec 2025 14:09:19 +0000 (+0100) Subject: mixer-control: Document that add_stream is transfer full X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2^2^2^2~7 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a85085fad288f2cbc92d1fc943f8d7471a2a6f56;p=gnome-shell.git mixer-control: Document that add_stream is transfer full Signed-off-by: Guido Günther Applied-upstream: gnome-shell 49.4, commit:d0e1664ac6278b70a7e26bf8135f0d1d92ee1e9f Gbp-Pq: Topic libgvc Gbp-Pq: Name mixer-control-Document-that-add_stream-is-transfer-full.patch --- diff --git a/subprojects/gvc/gvc-mixer-control.c b/subprojects/gvc/gvc-mixer-control.c index c7f961349..45764849b 100644 --- a/subprojects/gvc/gvc-mixer-control.c +++ b/subprojects/gvc/gvc-mixer-control.c @@ -1189,6 +1189,13 @@ remove_stream (GvcMixerControl *control, g_object_unref (stream); } +/** + * add_stream: (skip) + * @control: The control to add the stream to + * @stream:(transfer full): The stream to add + * + * Add a stream to the hash table of all known streams + */ static void add_stream (GvcMixerControl *control, GvcMixerStream *stream)